package com.luli.service.impl;

import com.luli.dao.MenuDao;
import com.luli.entity.Menu;
import com.luli.service.MenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 陆离
 * 2022/11/16 13:50:24
 */
@Service
public class MenuServiceImpl implements MenuService {
    @Autowired
    private MenuDao menuDao;
    @Override
    public List<Menu> queryUserRole(String roleId) {
        return menuDao.queryUserRole(roleId);
    }
}
